﻿<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>

<!-- meta -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="referrer" content="origin-when-cross-origin" />
<meta name="description" content="随机密码生成 - Random Password Generator"/>
<meta property="og:description" content="随机密码生成 - Random Password Generator"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<title>随机密码生成 - Random Password Generator</title>

<!--图标库 & 主要样式-->
<link rel="stylesheet" th:href="@{css/font-awesome.min.css}">
<link rel="stylesheet" th:href="@{css/style.css}">
<link rel="shortcut icon" th:href="@{../favicon.ico}" />
</head>
<body>

<div class="container">
	<h2 class="title">随机密码生成器</h2>
	<div class="result">
		<div class="result__title field-title">生成的密码</div>
		<div class="result__info right">点击复制</div>
		<div class="result__info left">复制</div>
		<div class="result__viewbox" id="result">点击复制密码</div>
		<button id="copy-btn"></button>
	</div>

	<div class="length range__slider" data-min="4" data-max="32">
		<div class="length__title field-title" data-length='0'>长度：</div>
		<input id="slider" type="range" min="4" max="32" value="12" />
	</div>

	<div class="settings">
		<span class="settings__title field-title">settings</span>
		<div class="setting">
			<input type="checkbox" id="uppercase" checked />
			<label for="uppercase">包含大写</label>
		</div>
		<div class="setting">
			<input type="checkbox" id="lowercase" checked />
			<label for="lowercase">包含小写</label>
		</div>
		<div class="setting">
			<input type="checkbox" id="number" checked />
			<label for="number">包括数字</label>
		</div>
		<div class="setting">
			<input type="checkbox" id="symbol" />
			<label for="symbol">包括符号</label>
		</div>
	</div>

	<button class="btn generate" id="generate">生成密码</button>
</div>

<script th:src="@{/js/script.js}"></script>

<div style="text-align:center;">
</div>

<div style="text-align: center;height: 20px;width: 100%;background-color: #d0efeb;position: fixed;bottom: 0;">
	CopyRight © 2023 随机密码生成器
</div>
</body>
</html>